[ We'll try to get in a proper fix into 3.0 - this is just the backup plan]
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 11 Aug 2005 21:05:58 +0000 (21:05 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 11 Aug 2005 21:05:58 +0000 (21:05 +0000)
Don't attempt to create paravirtualized devices for VMX domains for now.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
tools/python/xen/xend/XendDomainInfo.py

index af73c87bff943f586fcecb14e032e92399e26cdf..4e010413425f41549c9dc7da0b774335551f6ac9 100644 (file)
@@ -743,7 +743,8 @@ class XendDomainInfo:
             for ctrl in self.getDeviceControllers():
                 ctrl.initController(reboot=True)
         else:
-            self.create_configured_devices()
+           if self.image.ostype != 'vmx':
+                self.create_configured_devices()
         if not self.device_model_pid:
             self.device_model_pid = self.image.createDeviceModel()
 
@@ -915,7 +916,8 @@ class XendDomainInfo:
         """
         self.configure_fields()
         self.create_devices()
-        self.create_blkif()
+       if self.image.ostype != 'vmx':
+            self.create_blkif()
 
     def create_blkif(self):
         """Create the block device interface (blkif) for the vm.